package com.mfangsoft.zhuangjialong.integration.cardmanage.model;

import java.io.Serializable;
import java.util.Date;

/**
 * table card_manage
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class BaseCardManage implements Serializable {
    /**
     * column id
     *
     * @MLTH_generated
     */
    private Integer id;
    public Date getUse_time() {
		return use_time;
	}

	public void setUse_time(Date use_time) {
		this.use_time = use_time;
	}

	private Date use_time;

    public void setMoney(Integer money) {
		this.money = money;
	}

	public void setNumbuter(Integer numbuter) {
		this.numbuter = numbuter;
	}

	public void setPutaway(Integer putaway) {
		this.putaway = putaway;
	}

	public void setDiscount(Integer discount) {
		this.discount = discount;
	}

	public void setUse_condition(Integer use_condition) {
		this.use_condition = use_condition;
	}

	/**
     * column card_tpye
     *
     * @MLTH_generated
     */
    private String card_tpye;

    /**
     *   卡名
     * column card_name
     *
     * @MLTH_generated
     */
    private String card_name;

    /**
     *   创建人
     * column create
     *
     * @MLTH_generated
     */
    private String create;

    /**
     *   面额
     * column denomination
     *
     * @MLTH_generated
     */
    private Integer denomination;

    /**
     *   金额
     * column money
     *
     * @MLTH_generated
     */
    private Integer money;

    /**
     *   发量
     * column numbuter
     *
     * @MLTH_generated
     */
    private Integer numbuter;

    /**
     * column start_time
     *
     * @MLTH_generated
     */
    private String start_time;

    /**
     * column end_time
     *
     * @MLTH_generated
     */
    private String end_time;

    /**
     *   使用数量
     * column use_number
     *
     * @MLTH_generated
     */
    private Integer use_number;

    /**
     *   上下架
     * column putaway
     *
     * @MLTH_generated
     */
    private Integer putaway;

    /**
     *   折扣
     * column discount
     *
     * @MLTH_generated
     */
    private Integer discount;

    /**
     * column use_condition
     *
     * @MLTH_generated
     */
    private Integer use_condition;

    /**
     *   备用
     * column standby
     *
     * @MLTH_generated
     */
    private String standby;

    /**
     * column create_time
     *
     * @MLTH_generated
     */
    private String create_time;

    /**
     *   卡券编码
     * column card_code
     *customer
     * @MLTH_generated
     */
    private String card_code;
   
    private Integer get;
    private Integer use;
    private Integer state;

    public Integer getGet() {
		return get;
	}

	public void setGet(Integer get) {
		this.get = get;
	}

	public Integer getUse() {
		return use;
	}

	public void setUse(Integer use) {
		this.use = use;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	/**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table card_manage
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the value for 
     *
     * @MLTH_generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getCard_tpye() {
        return card_tpye;
    }

    /**
     * @param card_tpye the value for 
     *
     * @MLTH_generated
     */
    public void setCard_tpye(String card_tpye) {
        this.card_tpye = card_tpye == null ? null : card_tpye.trim();
    }

    /**
     *   卡名
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getCard_name() {
        return card_name;
    }

    /**
     *   卡名
     * @param card_name the value for 
     *
     * @MLTH_generated
     */
    public void setCard_name(String card_name) {
        this.card_name = card_name == null ? null : card_name.trim();
    }

    /**
     *   创建人
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getCreate() {
        return create;
    }

    /**
     *   创建人
     * @param create the value for 
     *
     * @MLTH_generated
     */
    public void setCreate(String create) {
        this.create = create == null ? null : create.trim();
    }

    /**
     *   面额
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public Integer getDenomination() {
        return denomination;
    }


    public void setDenomination(Integer denomination) {
		this.denomination = denomination;
	}

	/**
     *   金额
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public Integer getMoney() {
        return money;
    }

  

    /**
     *   发量
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public Integer getNumbuter() {
        return numbuter;
    }

   
   
   

    /**
     *   使用数量
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getUse_number() {
        return use_number;
    }

    /**
     *   使用数量
     * @param use_number the value for 
     *
     * @MLTH_generated
     */
    public void setUse_number(Integer use_number) {
        this.use_number = use_number;
    }

    /**
     *   上下架
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public Integer getPutaway() {
        return putaway;
    }

  

    /**
     *   折扣
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public Integer getDiscount() {
        return discount;
    }



    /**
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public Integer getUse_condition() {
        return use_condition;
    }

  

    /**
     *   备用
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getStandby() {
        return standby;
    }

    /**
     *   备用
     * @param standby the value for 
     *
     * @MLTH_generated
     */
    public void setStandby(String standby) {
        this.standby = standby == null ? null : standby.trim();
    }

   

    public String getStart_time() {
		return start_time;
	}

	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}

	public String getEnd_time() {
		return end_time;
	}

	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}

	public String getCreate_time() {
		return create_time;
	}

	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	/**
     *   卡券编码
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getCard_code() {
        return card_code;
    }

    /**
     *   卡券编码
     * @param card_code the value for 
     *
     * @MLTH_generated
     */
    public void setCard_code(String card_code) {
        this.card_code = card_code == null ? null : card_code.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", card_tpye=").append(card_tpye);
        sb.append(", card_name=").append(card_name);
        sb.append(", create=").append(create);
        sb.append(", denomination=").append(denomination);
        sb.append(", money=").append(money);
        sb.append(", numbuter=").append(numbuter);
        sb.append(", start_time=").append(start_time);
        sb.append(", end_time=").append(end_time);
        sb.append(", use_number=").append(use_number);
        sb.append(", putaway=").append(putaway);
        sb.append(", discount=").append(discount);
        sb.append(", use_condition=").append(use_condition);
        sb.append(", standby=").append(standby);
        sb.append(", create_time=").append(create_time);
        sb.append(", card_code=").append(card_code);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}